package com.bdqn.mapper;

import com.bdqn.pojo.StorageRecord;
import com.bdqn.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

public interface StorageRecordMapper {
    /**
     * 新增入库
     * @param str
     * @return
     */
    public boolean add(StorageRecord str);

    /**
     * 根据id删除入库表
     * @param id
     * @return
     */
    public int del(@Param("id") int id);

    /**
     * 根据id修改商品名
     * @param id
     * @param goodsName
     * @return
     */
    public int upd(@Param("id") int id,@Param("goodsName") String goodsName);
}
